<? if (count($data) < 1): ?>
	<div class="well">
		Ничего не найдено
	</div>
<? else: ?>
	<div class="well">
		<table class="table table-striped" cellspacing="1px" rules="rows">
			<thead>
				<td width="14%">
					<h2 style="display: inline;">№&nbsp;</h2>
				</td>
				<td width="66%">
					<h2 style="display: inline;">Строка совпадения&nbsp;</h2>
				</td>
				<td width="10%"></td>
				<td width="10%" colspan="2"><h2>Управление&nbsp;</h2></td>
			</thead>
			<? foreach ($data as $item): ?>
				<tr>
					<td><?= $item->id ?></td>
					<td>
						<a href="<?= $defaults['baseUrl'] ?>administration/<?= $defaults['controller'] ?>//edit/<?= $item->id ?>"><?= strip_tags($item->$waymark) ?></a>
					</td>
					<td>
					</td>
					<td>
						<a class="btn content-management" href="<?= $defaults['baseUrl'] ?>administration/<?= $defaults['controller'] ?>//edit/<?= $item->id ?>"><i class="icon-pencil"></i></a>
					</td>
					<td>
						<a class="btn content-management" href="<?= $defaults['baseUrl'] ?>administration/<?= $defaults['controller'] ?>//delete/<?= $item->id ?>"><i class="icon-remove"></i></a>
					</td>
				</tr>
			<? endforeach ?>
		</table>
	</div>
<? endif ?>